]> dgit.raspbian.org Git - gnome-shell.git/commit
Adjust to cursor tracker visibility API changes
authorSebastian Wick <sebastian.wick@redhat.com>
Wed, 25 Jun 2025 11:15:24 +0000 (13:15 +0200)
committerSebastian Wick <sebastian.wick@redhat.com>
Wed, 25 Jun 2025 11:15:24 +0000 (13:15 +0200)
commit91c6366e0199eacfb62787ba669bd90fefd6c6d9
treebc197dd087e8fe82628f6e8f63300eb7886d7b89
parent2203b7eac39deb57a0c806bb4ca082f19993ba16
Adjust to cursor tracker visibility API changes

The old `Meta.CursorTracker.set_pointer_visible` method has been
replaced by `inhibit_cursor_visibility` and
`uninhibit_cursor_visibility`.

Change the code to use the new API which makes the code more robust
because we don't have to listen for changes and then try to force it
back to what we want.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3772>
js/ui/magnifier.js
js/ui/screenShield.js